home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
6-Developer Demos
/
Developer Demos-Ed.
/
Macintosh School® CD-ROM Demo
/
Macintosh SchoolÆ CD-ROM Demo
/
card_64481.txt
< prev
next >
Wrap
Text File
|
1990-08-14
|
9KB
|
516 lines
-- card: 64481 from stack: in
-- bmap block id: 95522
-- flags: 4000
-- background id: 19276
-- name: Attendance & Marks
----- HyperTalk script -----
on openCard
global buttonNumber
put char 1 to 3 of the long date & "," & item 2 to 3 of the abbrev date into background field date
set hilite of background button buttonNumber to false
end openCard
on closeCard
global buttonNumber
set hilite of background button buttonNumber to true
end closeCard
on resetCard
set hilite of card button id 8 to false
set hilite of card button id 9 to false
set hilite of card button id 10 to false
set hilite of card button id 11 to false
set hilite of card button id 12 to false
put "GPA" into card field "GPA"
put "0.000" into card field id 14
put "0.000" into card field id 15
put "1.000" into card field id 16
put "0" into card field id 17
put "0.0" into card field id 18
put "0" into card field id 19
end resetCard
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=0 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 2 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=52 top=31 right=48 bottom=242
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Students & Courses
----- HyperTalk script -----
on mouseUp
lock screen
resetCard
go to card short name of me of this background
unlock screen
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=41 top=307 right=325 bottom=107
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OK
----- HyperTalk script -----
on mouseUp
lock screen
resetCard
pop card
unlock screen
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=119 top=307 right=325 bottom=185
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Cancel
----- HyperTalk script -----
on mouseUp
lock screen
resetCard
pop card
unlock screen
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=197 top=307 right=325 bottom=263
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Prefs…
----- HyperTalk script -----
on mouseUp
lock screen
push card
go to card short name of me of this background
unlock screen
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=275 top=307 right=325 bottom=341
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Clear…
----- HyperTalk script -----
on mouseUp
lock screen
resetCard
unlock screen
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=353 top=307 right=325 bottom=469
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Points & Credits
-- part 8 (button)
-- low flags: 00
-- high flags: A005
-- rect: left=89 top=204 right=220 bottom=244
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Attendance criteria
-- part 9 (button)
-- low flags: 00
-- high flags: A005
-- rect: left=318 top=146 right=162 bottom=419
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Any course.
-- part 10 (button)
-- low flags: 00
-- high flags: A005
-- rect: left=318 top=172 right=188 bottom=457
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Selected courses.
-- part 11 (button)
-- low flags: 00
-- high flags: 8006
-- rect: left=318 top=235 right=251 bottom=408
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: All marks.
----- HyperTalk script -----
on mouseUp
set hilite of card button "Best" to false
set hilite of me to true
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: 8006
-- rect: left=318 top=262 right=278 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Best
----- HyperTalk script -----
on mouseUp
set hilite of card button "All marks." to false
set hilite of me to true
end mouseUp
-- part 13 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=55 top=145 right=161 bottom=133
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 14
-- part name: GPA
-- part 14 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=144 right=164 bottom=225
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 15 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=248 top=144 right=164 bottom=292
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 16 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=170 right=190 bottom=225
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 17 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=177 top=233 right=253 bottom=218
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 18 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=190 top=260 right=280 bottom=231
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 19 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=373 top=260 right=280 bottom=403
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 20 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=46 top=145 right=161 bottom=133
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseDown
global checkLoc8
get the rect of me
put item 1 of it into horz
put item 2 of it into vert
put "GPA,GPA x P. Cred.,Percent" into menuList
set hilite of me to true
put PopUpMenu(menuList,vert,horz,checkLoc8) into temp
if temp > 0 then
put item temp of menuList into card field "GPA"
put temp into checkLoc8
end if
set hilite of me to false
end mouseDown
-- part contents for background part 3
----- text -----
47
80
53
54
52
102
48
13
94
93
103
104
44
-- part contents for background part 4
----- text -----
Abrosimoff, Michael John
Adams, Bryan
Alexander, Rick
Alexander, Susan
Allsop, Blair M.
Azimov, Isaac
Barisoff, Larissa
Bunyan, Paul
Burnyeat, Grant
Caldwell, Brian
Chalk, Patricia
Collins, Bob
Conkin, Elizabeth
-- part contents for background part 5
----- text -----
112
112
112
112
112
N/A
112
112
112
112
N/A
N/A
112
-- part contents for background part 6
----- text -----
12
12
12
12
12
11
12
12
12
12
11
11
12
-- part contents for background part 7
----- text -----
0.000
0.000
0.000
0.000
0.000
1.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
-- part contents for background part 8
----- text -----
1
1
1
1
1
1
1
1
1
1
7
7
1
-- part contents for background part 1
----- text -----
99 Students
-- part contents for background part 2
----- text -----
Mon, Aug 28, 1989
-- part contents for card part 13
----- text -----
GPA
-- part contents for card part 14
----- text -----
0.000
-- part contents for card part 15
----- text -----
0.000
-- part contents for card part 16
----- text -----
1.000
-- part contents for card part 17
----- text -----
0
-- part contents for card part 18
----- text -----
0.0
-- part contents for card part 19
----- text -----
0